package org.ifg.bn.dto;

import java.util.Date;

public class User {
	private String username;
	private String realname;
	private String password;
	private Date birth;
	private String addr;

	public User() {
		super();
	}

	public User(String username, String realname, String password, Date birth, String addr) {
		super();
		this.username = username;
		this.realname = realname;
		this.password = password;
		this.birth = birth;
		this.addr = addr;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getBirth() {
		return birth;
	}

	public void setBirth(Date birth) {
		this.birth = birth;
	}

	public String getAddr() {
		return addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	@Override
	public String toString() {
		return "User [username=" + username + ", realname=" + realname + ", password=" + password + ", birth=" + birth
				+ ", addr=" + addr + "]";
	}

}
